package com.jeez.module.sys.repository;

import com.jeez.common.jpa.BaseJpaRepository;
import com.jeez.module.sys.entity.SysUser;
import org.springframework.stereotype.Repository;

/**
 * @author: Felix
 * @date: 2018-7-1
 * @version: v1.0
 * @description:
 */
@Repository
public interface SysUserRepository extends BaseJpaRepository<SysUser, Long> {

    /**
     * 根据登录名查找用户
     * @param userCode
     * @return
     */
    SysUser findByUserCode(String userCode);

}
